<template>
	<view class="evaluateSuccess">
		<view class="header">
			<image class="headerReturn" src="/static/images/productDetails/ht.png" mode="" @tap="back()"></image>
			<view class="returnIdex">
				回首页
			</view> 
		</view>
		<view class="success">
			<image src="/static/images/productDetails/cg.png" mode="widthFix"></image>
			<view class="successTitle">
				发布成功
			</view>
			<view class="successBtn">
			 <view class="">
			 	查看评价
			 </view>	
			 <view class="">
			 	分享评价
			 </view>
				
			</view>
		</view>
	</view>
</template>

<script>
		export default {
			data(){
				return{
					
				}
			},
			methods:{
				back() {
					// 返回上一级页面
					uni.navigateBack({
						delta: 1 // 返回的页面数，如果 delta 大于现有页面数，则返回到首页。
					});
				},
			}
		}
</script>

<style scoped lang="scss">
	page{
		background: #F9F9F9;
	}
	.evaluateSuccess{
		margin-top: 100rpx;
	}
	.header{
		display: flex;
		padding: 0 18rpx;
		justify-content: space-between;
		box-sizing: border-box;
		background: #F9F9F9;
		height: 44px;
		.headerReturn{
			width: 40rpx;
			height: 40rpx;
		}
		.returnIdex{
			border-radius: 13px;
			border: 1px solid #6954D5;
			color: #6954D5;
			font-size: 22rpx;
			padding: 0 20rpx;
		}
	}
	.success{
		margin-top: 300rpx;
		text-align: center;
		.successTitle{
			margin-top: 20rpx;
			font-size: 36rpx;
		}
		.successBtn{
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 40rpx;
			margin-top: 140rpx;
			view{
				width: 320rpx;
				height: 80rpx;
				border: 2rpx solid #6954D5;
				color: #6954D5;
				line-height: 80rpx;
				border-radius: 20px;
				background: #F3F2FC;
			}
		}
		.successBtn view:nth-child(2){
			background: #6954D5;
			color: #fff
		}
		image{
			
			width: 200rpx;
		}
	}
</style>